<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 600px;
            height: 400px;
            border: 2px solid pink;
            /* 导入图片+图片大小 */
            background-size: 300px 200px;
            background-image: url(../imges/1.jpg);
            background-repeat: no-repeat;

            /* 背景定位 */
            /* background-position: bottom center; */
            background-position: 20% ;

        }
        
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>